<h2>Classic editor</h2>
<div id="classic">
	<table border="1" cellpadding="1" cellspacing="1" style="width:100%">
		<tbody>
		<tr>
			<td>Apollo 11 was the spaceflight that landed the first humans, Americans Neil Armstrong and Buzz Aldrin, on the Moon on July 20, 1969, at 20:18 UTC. Armstrong became the first to step onto the lunar surface 6 hours later on July 21 at 02:56 UTC.</td>
			<td>
				<figure class="easyimage easyimage-side">
					<img alt="foo" src="../../image2/_assets/foo.png">
					<figcaption>
						Test image
					</figcaption>
				</figure>
			</td>
			<td>
				<figure class="easyimage easyimage-side">
					<img alt="foo" src="../../image2/_assets/foo.png">
					<figcaption>
						Test image
					</figcaption>
				</figure>
				<p>Armstrong spent about three and a half two and a half hours outside the spacecraft, Aldrin slightly less; and together they collected 47.5 pounds (21.5&nbsp;kg) of lunar material for return to Earth. A third member of the mission, Michael Collins, piloted the command spacecraft alone in lunar orbit until Armstrong and Aldrin returned to it for the trip back to Earth.</p>
			</td>
		</tr>
		</tbody>
	</table>
</div>

<h2>Divarea editor</h2>
<div id="divarea">
	<table border="1" cellpadding="1" cellspacing="1" style="width:100%">
		<tbody>
		<tr>
			<td>Apollo 11 was the spaceflight that landed the first humans, Americans Neil Armstrong and Buzz Aldrin, on the Moon on July 20, 1969, at 20:18 UTC. Armstrong became the first to step onto the lunar surface 6 hours later on July 21 at 02:56 UTC.</td>
			<td>
				<figure class="easyimage easyimage-side">
					<img alt="foo" src="../../image2/_assets/foo.png">
					<figcaption>
						Test image
					</figcaption>
				</figure>
			</td>
			<td>
				<figure class="easyimage easyimage-side">
					<img alt="foo" src="../../image2/_assets/foo.png">
					<figcaption>
						Test image
					</figcaption>
				</figure>
				<p>Armstrong spent about three and a half two and a half hours outside the spacecraft, Aldrin slightly less; and together they collected 47.5 pounds (21.5&nbsp;kg) of lunar material for return to Earth. A third member of the mission, Michael Collins, piloted the command spacecraft alone in lunar orbit until Armstrong and Aldrin returned to it for the trip back to Earth.</p>
			</td>
		</tr>
		</tbody>
	</table>
</div>

<h2>Inline editor</h2>
<div id="inline" contenteditable="true">
	<table border="1" cellpadding="1" cellspacing="1" style="width:100%">
		<tbody>
		<tr>
			<td>Apollo 11 was the spaceflight that landed the first humans, Americans Neil Armstrong and Buzz Aldrin, on the Moon on July 20, 1969, at 20:18 UTC. Armstrong became the first to step onto the lunar surface 6 hours later on July 21 at 02:56 UTC.</td>
			<td>
				<figure class="easyimage easyimage-side">
					<img alt="foo" src="../../image2/_assets/foo.png">
					<figcaption>
						Test image
					</figcaption>
				</figure>
			</td>
			<td>
				<figure class="easyimage easyimage-side">
					<img alt="foo" src="../../image2/_assets/foo.png">
					<figcaption>
						Test image
					</figcaption>
				</figure>
				<p>Armstrong spent about three and a half two and a half hours outside the spacecraft, Aldrin slightly less; and together they collected 47.5 pounds (21.5&nbsp;kg) of lunar material for return to Earth. A third member of the mission, Michael Collins, piloted the command spacecraft alone in lunar orbit until Armstrong and Aldrin returned to it for the trip back to Earth.</p>
			</td>
		</tr>
		</tbody>
	</table>
</div>

<script>
	if ( easyImageTools.isUnsupportedEnvironment() ) {
		bender.ignore();
	}

	var config = {
		toolbarGroups: [
			{ name: 'all', groups: [ 'mode', 'clipboard', 'insert' ] }
		],
		height: 300
	};

	CKEDITOR.addCss( '.cke_editable td { vertical-align: top; }' );

	CKEDITOR.replace( 'classic', config );
	CKEDITOR.replace( 'divarea', CKEDITOR.tools.extend( {}, config, {
		extraPlugins: 'divarea'
	} ) );
	CKEDITOR.inline( 'inline', config );
</script>
